STEP 3: Let's add a second question!

It's OK to type the string in one line, even if you can't see the entire string in the code editor at the same time.

  • Add another String Variable to your program and change the variable name to ques_2.
  • Change the string to "What is your favorite thing to do in your spare time? a) scamper b) float around in zero-g c) play sports d) fight dragons"


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)